package com.po;

import java.util.List;

public class BorrowCard {
    private Integer id;

    private String name;

    private String classname;

    private String school;

    private Integer studyId;

    private List<BorrowInfo> borrowInfo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school == null ? null : school.trim();
    }

    public Integer getStudyId() {
        return studyId;
    }

    public void setStudyId(Integer studyId) {
        this.studyId = studyId;
    }

    public List<BorrowInfo> getBorrowInfo() {
        return borrowInfo;
    }

    public void setBorrowInfo(List<BorrowInfo> borrowInfo) {
        this.borrowInfo = borrowInfo;
    }

    @Override
    public String toString() {
        return "BorrowCard{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", classname='" + classname + '\'' +
                ", school='" + school + '\'' +
                ", studyId=" + studyId +
                ", borrowInfo=" + borrowInfo +
                '}';
    }
}